package com.sakura.mall.product.skuInfo.service;

import com.sakura.mall.common.response.Page;
import com.sakura.mall.product.skuInfo.domain.entity.SkuInfoEntity;
import com.sakura.mall.product.skuInfo.domain.request.AddSkuInfoRequest;
import com.sakura.mall.product.skuInfo.domain.request.UpdateSkuInfoRequest;
import com.sakura.mall.product.skuInfo.domain.request.SkuInfoPageRequest;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sakura.mall.product.skuInfo.domain.vo.SkuInfoVo;

/**
 * sku信息 service
 *
 * @author sakura
 */
public interface SkuInfoService extends IService<SkuInfoEntity> {
    

    /**
     * 分页查询
     *
     * @param request 请求
     * @return ret
     */
    Page<SkuInfoVo> queryPage(SkuInfoPageRequest request);

    /**
    * 注册用户
    *
    * @param request 请求
    */
    void add(AddSkuInfoRequest request);
    

    /**
     * 更新用户
     *
     * @param id      id
     * @param request 更新
     */
    void updateById(Long id, UpdateSkuInfoRequest request);
}
